/**
 * 
 */
package com.maxin.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.maxin.entity.Cart_Goods;
import com.maxin.entity.Goodstable;
import com.maxin.mapper.Cart_GoodsMapper;
import com.maxin.service.ICart_GoodsService;

/**
 * @author: maxin
 * @description: 
 */
@Service
public class Cart_GoodsServiceImpl implements ICart_GoodsService {

	@Autowired
	private Cart_GoodsMapper cart_GoodsMapper;
	
	@Override
	public List<Goodstable> selectCartByUserId(long busertable_id) {
		return cart_GoodsMapper.selectCartByUserId(busertable_id);
	}

	@Override
	public int insert(Cart_Goods cart_goods) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteItem(Cart_Goods cart_goods) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int clear(long carttable_id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateNum(int shoppingnum) {
		// TODO Auto-generated method stub
		return 0;
	}

}
